package com.qf.commerce.mapper;

import com.qf.commerce.common.dto.BalanceTransactionsDto;
import com.qf.commerce.entity.BalanceTransactions;

import java.util.List;


/*
 * @author 358
 * @since JDK 1.8
 * @data 2023/9/12 19:42
*/

public interface BalanceTransactionsMapper {

    int insert(BalanceTransactionsDto record);

    int insertSelective(BalanceTransactions record);

    int updateByPrimaryKeySelective(BalanceTransactions record);

    int updateByPrimaryKey(BalanceTransactions record);

    List<BalanceTransactions> selectByUserId(Integer userId);
}